package com.aspose.cells;

class zgb {
   static String a = "MMM|DD|DDD|YYYY|M/|/M|D/|D\\\\|/D|Y/|/Y|-M|M-|-D|D-|-Y|Y-|MM|M/D|D/M|M-D|D-M|^D$|\\[H\\]|H:MM|MM:SS|年|月|日|时|分|秒|MD";

   static boolean a(String var0) {
      int var1 = var0.length();
      StringBuilder var2 = new StringBuilder(var1);

      label40:
      for(int var3 = 0; var3 < var1; ++var3) {
         switch(var0.charAt(var3)) {
         case '"':
            ++var3;

            while(true) {
               if (var3 >= var1 || var0.charAt(var3) == '"') {
                  continue label40;
               }

               ++var3;
            }
         case '\'':
            ++var3;

            while(true) {
               if (var3 >= var1 || var0.charAt(var3) == '\'') {
                  continue label40;
               }

               ++var3;
            }
         case '*':
            ++var3;
            break;
         case '\\':
            ++var3;
            break;
         case '_':
            ++var3;
            break;
         default:
            var2.append(var0.charAt(var3));
         }
      }

      String var4 = com.aspose.cells.b.a.zr.a(var2);
      return com.aspose.cells.b.a.g.a.ze.b(var4, a, 66);
   }
}
